{extend name="template/pc/kalawan/_base.html" /}

{block name="css"}
<link rel="stylesheet" href="__TPMPLATE__pc/kalawan/css/jqzoom.css">
{/block}

{block name="main"}

<div class="container content cont-pc">

    {include file="template/pc/kalawan/_left.html"}

    <div class="cont-right">

        {include file="template/pc/kalawan/_right.html"}

        <div class="cont-details">
            <div class="details-title">{$data.title ?? ''}</div>
            <div class="details-data">{:lang('Author')}：{$data.issue}&nbsp;&nbsp;&nbsp;{:lang('Create time')}：{$data.create_time ?? ''}</div>
            <div class="details-txt">{$data.value|default=''|html_entity_decode ?? ''}</div>
            <div class="details-down">
                <a title="下载" class="btn btn-success" target="_blank" href="/public/uploads/file/{$data.file}">
                    <i class="glyphicon glyphicon-download-alt"></i>下载
                </a>
            </div>

            <div class="details-page">
                <div class="page-btn page-pre">
                    {:lang('Previous page')}：
                    {empty name="$next.pre.id"}{:lang('No')}{else /}
                    <a title="{$next.pre.title}" href="{:url(\''.\\think\\Request::instance()->controller().'/detailed',['id'=>$next.pre.id,'navid'=>$next.pre.cid])}">
                        {$next.pre.title}
                    </a>
                    {/empty}
                </div>

                <div class="page-btn page-nex">
                    {:lang('Next page')}：{empty name="$next.next.id"}{:lang('No')}{else /}
                    <a title="{$next.next.title}" href="{:url(\''.\\think\\Request::instance()->controller().'/detailed',['id'=>$next.next.id,'navid'=>$next.next.cid])}">
                        {$next.next.title}
                    </a>
                    {/empty}
                </div>
            </div>

        </div>

    </div>

</div>

<div class="cont-mobile">

    <div class="container">

        {include file="template/pc/kalawan/_right.html"}

        <div class="starter-template other-text">
            <h1 class="text-center">{$data.title}</h1>
            <h5 class="text-center">{$data.create_time} &nbsp; {:lang('source')}：{$data.issue ?? '本站原创'}</h5>
        </div>

        <div class="cont-details">
            <div class="details-txt">{$data.value|default=''|html_entity_decode ?? ''}</div>
            <div class="details-down">
                <a title="下载" class="btn btn-success" target="_blank" href="/public/uploads/file/{$data.file}">
                    <i class="glyphicon glyphicon-download-alt"></i>下载
                </a>
            </div>
        </div>

    </div>

</div>

{/block}